package org.jackysoft.file;

import org.apache.commons.collections.Transformer;
import org.jackysoft.entity.FileItem;
import org.jackysoft.util.CustomFile;

public class FileTransform implements Transformer{

	@Override
	public Object transform(Object input) {
		FileItem r = (FileItem) input;
		
		return new CustomFile(r.getRealName(),r.getTitle());
	}
	
}